{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Debug Server",
            "type": "coreclr",
            "request": "launch",
            "preLaunchTask": "Build Server",
            "program": "${workspaceFolder}/src/Server/bin/Debug/netcoreapp2.2/Server.dll",
            "args": [],
            "logging": {
                "moduleLoad": false
            },
            "stopAtEntry": false,
            "console": "internalConsole",
        },
        {
            "name": "Debug Client",
            "type": "chrome",
            "request": "launch",
            "preLaunchTask": "Watch Client",
            "url": "http://localhost:8080",
            "webRoot": "${workspaceFolder}/src/Client",
            "sourceMaps": true,
            "sourceMapPathOverrides": {
                "webpack:///*": "${workspaceFolder}/*",
            }
        },
        {
            "name": "Watch SAFE App",
            "type": "chrome",
            "request": "launch",
            "preLaunchTask": "Watch Client and Server",
            "url": "http://localhost:8080",
            "env": {
                "vsCodeSession":"true"
            },
            "webRoot": "${workspaceFolder}/src/Client",
            "sourceMaps": true,
            "sourceMapPathOverrides": {
                "webpack:///*": "${workspaceFolder}/*",
            }
        }
    ],
    "compounds": [
        {
            "name": "Debug SAFE App",
            "configurations": [ "Debug Server", "Debug Client" ],
        }
    ]
}